<html><head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta content="text/javascript" http-equiv="content-script-type">
<title>tango.sys.Pipe</title>

<link rel="stylesheet" type="text/css" href="css/style.css">
<!--[if lt IE 7]><link rel="stylesheet" type="text/css" href="css/ie56hack.css"><![endif]-->
<script language="JavaScript" src="js/util.js" type="text/javascript"></script>
<script language="JavaScript" src="js/tree.js" type="text/javascript"></script>
<script language="JavaScript" src="js/explorer.js" type="text/javascript"></script>
<script>
function anchorFromTitle(title, path, ext) {
  var url = path + title + "." + ext;
  document.write("<a href='" + url + "'>" + title + "</a>");
  }
</script>
</head><body>
<div id="tabarea"></div><div id="explorerclient"></div>
<div id="content"><script>explorer.initialize("tango.sys.Pipe");</script>
        <table class="content">
                <tr><td id="docbody"><h1><a href="http://www.dsource.org/projects/tango/browser/trunk/tango/sys/Pipe.d?rev=3327">tango.sys.Pipe</a></h1>
                
<b>License:</b><br>
BSD style: see <a href="http://www.dsource.org/projects/tango/wiki/LibraryLicense">license.txt</a><br><br>
<b>author:</b><br>Juan Jose Comellas <juanjo@comellas.com.ar><br><br>
<script>explorer.outline.incSymbolLevel();</script>
<dl>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl"><li>class <span class="currsymbol"><a href="http://www.dsource.org/projects/tango/browser/trunk/tango/sys/Pipe.d?rev=3327#L32">PipeConduit</a></span>
<script>explorer.outline.addDecl('PipeConduit');</script> : DeviceConduit;</li></span></dt>
<script>explorer.outline.writeEnabled = false;</script>
<dd>
<font color="black">Conduit for pipes.</font><br><br>
<font color="black">Each PipeConduit can only read or write, depending on the way it has been
 created.
 </font><br><br>
<script>explorer.outline.incSymbolLevel();</script>
<dl>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl"><li><span class="currsymbol"><a href="http://www.dsource.org/projects/tango/browser/trunk/tango/sys/Pipe.d?rev=3327#L58">this</a></span>
<script>explorer.outline.addDecl('this');</script>(ISelectable.Handle <span class="funcparam">handle</span>, uint <span class="funcparam">bufferSize</span> = DefaultBufferSize); [private]</li></span></dt>
<script>explorer.outline.writeEnabled = false;</script>
<dd>
<font color="black">Create a PipeConduit with the provided handle and access permissions.</font><br><br>
<b>Params:</b><br>
<table>
<tr><td nowrap valign="top" style="padding-right: 8px"><span class="funcparam">handle</span></td><td>handle of the operating system pipe we will wrap inside
                the PipeConduit.</td></tr>
<tr><td nowrap valign="top" style="padding-right: 8px"><span class="funcparam">style</span></td><td>access flags for the pipe (readable, writable, etc.).</td></tr>
<tr><td nowrap valign="top" style="padding-right: 8px"><span class="funcparam">bufferSize</span></td><td>buffer size.</td></tr></table><br></dd>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl"><li>~<span class="currsymbol"><a href="http://www.dsource.org/projects/tango/browser/trunk/tango/sys/Pipe.d?rev=3327#L71">this</a></span>
<script>explorer.outline.addDecl('this');</script>(); [public]</li></span></dt>
<script>explorer.outline.writeEnabled = false;</script>
<dd>
<font color="black">Destructor.
     </font><br><br></dd>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl"><li>uint <span class="currsymbol"><a href="http://www.dsource.org/projects/tango/browser/trunk/tango/sys/Pipe.d?rev=3327#L79">bufferSize</a></span>
<script>explorer.outline.addDecl('bufferSize');</script>(); [public, override]</li></span></dt>
<script>explorer.outline.writeEnabled = false;</script>
<dd>
<font color="black">Returns the buffer size for the PipeConduit.
     </font><br><br></dd>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl"><li>char[] <span class="currsymbol"><a href="http://www.dsource.org/projects/tango/browser/trunk/tango/sys/Pipe.d?rev=3327#L87">toString</a></span>
<script>explorer.outline.addDecl('toString');</script>(); [public, override]</li></span></dt>
<script>explorer.outline.writeEnabled = false;</script>
<dd>
<font color="black">Returns the name of the device.
     </font><br><br></dd></dl>
<script>explorer.outline.decSymbolLevel();</script></dd>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl"><li>class <span class="currsymbol"><a href="http://www.dsource.org/projects/tango/browser/trunk/tango/sys/Pipe.d?rev=3327#L143">Pipe</a></span>
<script>explorer.outline.addDecl('Pipe');</script>;</li></span></dt>
<script>explorer.outline.writeEnabled = false;</script>
<dd>
<font color="black">Factory class for Pipes.
 </font><br><br>
<script>explorer.outline.incSymbolLevel();</script>
<dl>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl"><li><span class="currsymbol"><a href="http://www.dsource.org/projects/tango/browser/trunk/tango/sys/Pipe.d?rev=3327#L151">this</a></span>
<script>explorer.outline.addDecl('this');</script>(uint <span class="funcparam">bufferSize</span> = PipeConduit.DefaultBufferSize); [public]</li></span></dt>
<script>explorer.outline.writeEnabled = false;</script>
<dd>
<font color="black">Create a Pipe.
     </font><br><br></dd>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl"><li>PipeConduit <span class="currsymbol"><a href="http://www.dsource.org/projects/tango/browser/trunk/tango/sys/Pipe.d?rev=3327#L203">sink</a></span>
<script>explorer.outline.addDecl('sink');</script>(); [public]</li></span></dt>
<script>explorer.outline.writeEnabled = false;</script>
<dd>
<font color="black">Return the PipeConduit that you can write to.
     </font><br><br></dd>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl"><li>PipeConduit <span class="currsymbol"><a href="http://www.dsource.org/projects/tango/browser/trunk/tango/sys/Pipe.d?rev=3327#L211">source</a></span>
<script>explorer.outline.addDecl('source');</script>(); [public]</li></span></dt>
<script>explorer.outline.writeEnabled = false;</script>
<dd>
<font color="black">Return the PipeConduit that you can read from.
     </font><br><br></dd>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl"><li>void <span class="currsymbol"><a href="http://www.dsource.org/projects/tango/browser/trunk/tango/sys/Pipe.d?rev=3327#L219">error</a></span>
<script>explorer.outline.addDecl('error');</script>(); [private, final]</li></span></dt>
<script>explorer.outline.writeEnabled = false;</script>
<dd>
<font color="black"></font><br><br></dd></dl>
<script>explorer.outline.decSymbolLevel();</script></dd></dl>
<script>explorer.outline.decSymbolLevel();</script></td></tr>
                <tr><td id="docfooter">
                        Copyright (c) 2006 Juan Jose Comellas. All rights reserved :: page rendered by CandyDoc. Generated by <a href="http://code.google.com/p/dil">dil</a> on Tue Mar  4 22:45:34 2008.
                </td></tr>
        </table>
</div>
<script></script>
</body></html>